<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <!--reset.min.css 根据实际情况引入，如果你有自己的初始化样式表可以不引入当前样式-->

    <link href="/static/plugins/InsdepUI/reset.min.css" rel="stylesheet" type="text/css">
    <!--reset.min.css 根据实际情况引入，如果你有自己的初始化样式表可以不引入当前样式-->
    <link rel="stylesheet" type="text/css" href="/static/plugins/InsdepUI/theme.default/master.css">
    <link href="/static/plugins/InsdepUI/icon.css" rel="stylesheet" type="text/css">
    <link href="/static/plugins/InsdepUI/easyui_full.css" rel="stylesheet" type="text/css">
    <link href="/static/plugins/InsdepUI/icon.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/static/plugins/InsdepUI/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="/static/plugins/InsdepUI/jquery.easyui-1.5.2.min.js"></script>
    <script type="text/javascript" src="/static/plugins/InsdepUI/insdep-extend.min.js"></script>
    <script type="text/javascript" src="/static/js/clientService/clientPool.js"></script>
</head>
<body>
<%--<div id="clientPool_btns">--%>
<%--<a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save">保存</a>--%>
<%--<a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>--%>
<%--</div>--%>
<div id="dispatch_btns">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="dispatchTo">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancelDispatch">取消</a>
</div>

<%--指派--%>
<div id="dispatch_dialog">
    <form id="dispatch_form" method="post">
        <input type="hidden" name="id">
        <table align="center" style="margin-top: 10px;font-size: 12px" cellspacing="10px" width="250px"
               cellpadding="5px">
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">客户姓名:</span></td>
                <td><input class="easyui-combobox" name="id" id="clientId" style="width: 130px;height: 22px;"
                           data-options="url:'/clientPool/list.do',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">咨询人员:</span></td>
                <td><input class="easyui-combobox" name="salemanId" id="salemanId"
                           style="width: 130px;height: 22px;"
                           data-options="url:'/employee/selectEmpByRolesn.do?roleSn=consultant',textField:'username',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
        </table>
    </form>
</div>

<div id="clientPool_toolbar">
    <a class="easyui-linkbutton" iconCls="icon-view" plain="true" data-cmd="view">查看</a>
    <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>
    <a class="easyui-linkbutton" iconCls="icon-join" plain="true" data-cmd="joinme">移交给我</a>
    <a class="easyui-linkbutton" iconCls="icon-dispatcher" plain="true" data-cmd="dispatch">指派给</a>
</div>
<table id="clientPool_datagrid"></table>
<%--查看--%>
<div id="clientPool_dialog">
    <form id="clientPool_form" method="post">
        <input type="hidden" name="id">
        <table align="center" style="margin-top: 10px;font-size: 12px" cellspacing="10px" width="600px"
               cellpadding="5px">
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">姓名:</span></td>
                <td><input class="easyui-textbox" name="name" style="width: 140px;height: 22px;"/></td>
                <td><span style="font-size: 14px">年龄:</span></td>
                <td><input class="easyui-textbox" name="age" style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">性别:</span></td>
                <td><input class="easyui-combobox" name="gender"
                           data-options="valueField:'label',textField:'value',data:[{'label':'男',value:'男'},{label:'女',value:'女'}],panelHeight:'auto'"
                           style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">电话:</span></td>
                <td><input class="easyui-textbox" name="tel" style="width: 140px;height: 22px;"/></td>
                <td><span style="font-size: 14px">QQ:</span></td>
                <td><input class="easyui-textbox" name="qq" style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">Email:</span></td>
                <td><input class="easyui-textbox" name="email" style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">建档日期:</span></td>
                <td><input class="easyui-datebox" name="formBuildDate" style="width: 140px;height: 22px;"/></td>
                <td><span style="font-size: 14px">微信:</span></td>
                <td><input class="easyui-textbox" name="weChat" style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">学校:</span></td>
                <td><input class="easyui-textbox" name="school" style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">录入时间:</span></td>
                <td><input class="easyui-datebox" name="inputTime" style="width: 140px;height: 22px;"/></td>
                <td><span style="font-size: 14px">地址:</span></td>
                <td><input class="easyui-textbox" name="address" style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">学历:</span></td>
                <td><input class="easyui-combobox" name="eduBackground.id" style="width: 120px;height: 22px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=eduBackground',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">下次跟进:</span></td>
                <td><input class="easyui-datebox" name="nextTraceTime" style="width: 140px;height: 22px;"/></td>
                <td><span style="font-size: 14px">专业:</span></td>
                <td><input class="easyui-textbox" name="major" style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">来源:</span></td>
                <td><input class="easyui-combobox" name="source.id" style="width: 120px;height: 22px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=source',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">约访时间:</span></td>
                <td><input class="easyui-datebox" name="appointTime" style="width: 140px;height: 22px;"/></td>
                <td><span style="font-size: 14px">介绍学员:</span></td>
                <td><input class="easyui-combobox" name="introducerStu.id" style="width: 120px;height: 22px;"
                           data-options="url:'/client/listAll.do',textField:'name',valueField:'id',panelHeight:'auto'"/>
                <td><span style="font-size: 14px">介绍人:</span></td>
                <td><input class="easyui-textbox" name="introducer" style="width: 120px;height: 22px;"/></td>
            </tr>

            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">客户类型:</span></td>
                <td><input class="easyui-combobox" name="clientType.id" style="width: 140px;height: 22px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=clientType',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">意向程度:</span></td>
                <td><input class="easyui-combobox" name="intentionDegree.id" style="width: 120px;height: 22px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=intentionDegree',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">当前状态:</span></td>
                <td><input class="easyui-combobox" name="state.id" style="width: 120px;height: 22px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=state',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">入学时间:</span></td>
                <td><input class="easyui-datebox" name="enrollUniversityDate" style="width: 140px;height: 22px;"/>
                </td>
                </td>
                <td><span style="font-size: 14px">意向班级:</span></td>
                <td><input class="easyui-combobox" name="clz.id" style="width: 120px;height: 22px;"
                           data-options="url:'/class/selectAll.do',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                </td>
                <td><span style="font-size: 14px">学校客户:</span></td>
                <td><input class="easyui-combobox" name="bigCustomer.id" style="width: 120px;height: 22px;"
                           data-options="url:'/university/selectAll.do',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">意向校区:</span></td>
                <td><input class="easyui-combobox" name="campus.id" style="width: 140px;height: 22px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=campus',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">意向学科:</span></td>
                <td><input class="easyui-combobox" name="intentionSubject.id" style="width: 120px;height: 22px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=subject',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">零付款:</span></td>
                <td align="left">&nbsp;&nbsp;&nbsp;<input type="radio" id="yes_radio" name="hasPaid" value="1"/>是&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="radio" id="no_radio" name="hasPaid" value="0"/>否
                </td>
            </tr>
            <tr align="right" style="height: 80px">
                <td><span style="font-size: 14px">关注问题:</span></td>
                <td colspan="6" align="left"><input type="textarea" name="focusProblem"
                                                    style="height: 50px;width: 540px"/>
                </td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">备注:</span></td>
                <td colspan="6" align="left"><input type="textarea" name="remark"
                                                    style="height: 50px;width: 540px"/>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
